package com.newlink.building.login.mvp.contract

import com.newlink.building.common_base.base.IModel
import com.newlink.building.common_base.base.IPresenter
import com.newlink.building.common_base.base.IView
import com.newlink.building.common_base.model.bean.HttpResult
import io.reactivex.Observable


interface Module_Login_InputVerifyCodeContract {

    interface View : IView {
        fun sendVCSuccess()
        fun sendVCFailed()
    }

    interface Presenter : IPresenter<View> {
        fun sendVerifyCode(code: String, email: String)
    }

    interface Model : IModel {
        fun sendVerifyCode(code: String, email: String): Observable<HttpResult<Boolean?>>
    }

}